<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9"/>
<title>NGUI: BMGlyph Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">NGUI
   &#160;<span id="projectnumber">3.11.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_b_m_glyph.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_b_m_glyph-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">BMGlyph Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Glyph structure used by <a class="el" href="class_b_m_font.html" title="BMFont reader. C# implementation of http://www.angelcode.com/products/bmfont/ ">BMFont</a>. For more information see <a href="http://www.angelcode.com/products/bmfont/">http://www.angelcode.com/products/bmfont/</a>  
 <a href="class_b_m_glyph.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab36d41eb26dcf44d748703113d39c886"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_m_glyph.html#ab36d41eb26dcf44d748703113d39c886">GetKerning</a> (int previousChar)</td></tr>
<tr class="memdesc:ab36d41eb26dcf44d748703113d39c886"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the special amount by which to adjust the cursor position, given the specified previous character.  <a href="#ab36d41eb26dcf44d748703113d39c886">More...</a><br /></td></tr>
<tr class="separator:ab36d41eb26dcf44d748703113d39c886"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49d10c2c97efaf142d649e88dded10ae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_m_glyph.html#a49d10c2c97efaf142d649e88dded10ae">SetKerning</a> (int previousChar, int amount)</td></tr>
<tr class="memdesc:a49d10c2c97efaf142d649e88dded10ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a new kerning entry to the character (or adjust an existing one).  <a href="#a49d10c2c97efaf142d649e88dded10ae">More...</a><br /></td></tr>
<tr class="separator:a49d10c2c97efaf142d649e88dded10ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12eea2b4a87b5fb3c327df65b218dd91"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_m_glyph.html#a12eea2b4a87b5fb3c327df65b218dd91">Trim</a> (int xMin, int yMin, int xMax, int yMax)</td></tr>
<tr class="memdesc:a12eea2b4a87b5fb3c327df65b218dd91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Trim the glyph, given the specified minimum and maximum dimensions in pixels.  <a href="#a12eea2b4a87b5fb3c327df65b218dd91">More...</a><br /></td></tr>
<tr class="separator:a12eea2b4a87b5fb3c327df65b218dd91"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a184e11ee043e611b52501888332a1d01"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a184e11ee043e611b52501888332a1d01"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>index</b></td></tr>
<tr class="separator:a184e11ee043e611b52501888332a1d01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72d84d75adbb22dafcda5fec312871aa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72d84d75adbb22dafcda5fec312871aa"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>x</b></td></tr>
<tr class="separator:a72d84d75adbb22dafcda5fec312871aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adac42ce995195a22e61bcda8c1d74876"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adac42ce995195a22e61bcda8c1d74876"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>y</b></td></tr>
<tr class="separator:adac42ce995195a22e61bcda8c1d74876"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ce3efeae8e2292cafd97f870a65b352"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9ce3efeae8e2292cafd97f870a65b352"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>width</b></td></tr>
<tr class="separator:a9ce3efeae8e2292cafd97f870a65b352"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed794aa6e482eb4a99e76571d6152551"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed794aa6e482eb4a99e76571d6152551"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>height</b></td></tr>
<tr class="separator:aed794aa6e482eb4a99e76571d6152551"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e65684d46b426313bc98ced183253f7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1e65684d46b426313bc98ced183253f7"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>offsetX</b></td></tr>
<tr class="separator:a1e65684d46b426313bc98ced183253f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e0e950e64260666f63c5f99c9d2c37c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e0e950e64260666f63c5f99c9d2c37c"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>offsetY</b></td></tr>
<tr class="separator:a7e0e950e64260666f63c5f99c9d2c37c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a032b16aff377a69a5d578ea20e74a70b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a032b16aff377a69a5d578ea20e74a70b"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>advance</b></td></tr>
<tr class="separator:a032b16aff377a69a5d578ea20e74a70b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fb41f6f2ffdf5f41df748bac206281c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6fb41f6f2ffdf5f41df748bac206281c"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>channel</b></td></tr>
<tr class="separator:a6fb41f6f2ffdf5f41df748bac206281c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c52901ccb9375f73376eb7440b24b57"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3c52901ccb9375f73376eb7440b24b57"></a>
List&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>kerning</b></td></tr>
<tr class="separator:a3c52901ccb9375f73376eb7440b24b57"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Glyph structure used by <a class="el" href="class_b_m_font.html" title="BMFont reader. C# implementation of http://www.angelcode.com/products/bmfont/ ">BMFont</a>. For more information see <a href="http://www.angelcode.com/products/bmfont/">http://www.angelcode.com/products/bmfont/</a> </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ab36d41eb26dcf44d748703113d39c886"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int BMGlyph.GetKerning </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>previousChar</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieves the special amount by which to adjust the cursor position, given the specified previous character. </p>

</div>
</div>
<a class="anchor" id="a49d10c2c97efaf142d649e88dded10ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void BMGlyph.SetKerning </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>previousChar</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>amount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add a new kerning entry to the character (or adjust an existing one). </p>

</div>
</div>
<a class="anchor" id="a12eea2b4a87b5fb3c327df65b218dd91"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void BMGlyph.Trim </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>xMin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>yMin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>xMax</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>yMax</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Trim the glyph, given the specified minimum and maximum dimensions in pixels. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/WorkDir/Unity3D_Work/taidou_arpg/Assets/NGUI/Scripts/Internal/BMGlyph.cs</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_b_m_glyph.html">BMGlyph</a></li>
    <li class="footer">Generated on Sat Jan 4 2020 22:30:27 for NGUI by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9 </li>
  </ul>
</div>
</body>
</html>
